<script setup>
defineProps(['title'])
const emit = defineEmits(['enlarge'])

//emit('enlarge')
</script>


<template>
  <h4>{{ title }}</h4>
  <button @click="$emit('enlarge')">Enlarge text</button>
</template>